package com.luchao.back.service.impl;

import com.luchao.back.mapper.AdminsMapper;
import com.luchao.back.pojo.Admins;
import com.luchao.back.service.AdminsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminsServiceImpl implements AdminsService {

    @Autowired
    private AdminsMapper adminsMapper;

    @Override
    public Admins login(String acount, String apwd) {
        return adminsMapper.login(acount, apwd);
    }
}
